package org.jsbd.boss.dao;

import java.util.List;
import java.util.Map;

import org.jsbd.boss.common.DataGridModel;
import org.jsbd.boss.domian.MiguMusicConfigBean;
import org.jsbd.boss.domian.MiguVideoConfigBean;
import org.jsbd.boss.domian.MiguVideoProvinceConfig;

public interface IMiguVideoConfigDao {

	Map<String, Object> getMiguMusicConfigListPage(DataGridModel page, MiguVideoConfigBean miguVideoConfig);

	MiguVideoConfigBean selectMiguVideoConfig(MiguVideoConfigBean miguVideoConfig);

	void insert(MiguVideoConfigBean miguVideoConfig);

	void update(MiguVideoConfigBean miguVideoConfig);

	void delete(MiguVideoConfigBean miguVideoConfig);

	void updateMiguVideoStatus(MiguVideoConfigBean miguVideoConfig);

	MiguVideoConfigBean selectMiguVideoConfigAll(MiguVideoConfigBean queryMvc);

	MiguVideoConfigBean selectMiguVideoConfigExName(String name, Integer id);

	MiguVideoConfigBean selectMiguVideoConfigByName(MiguVideoConfigBean queryMvc);

	MiguVideoConfigBean selectMiguVideoConfigByChannelId(String channelId);

	void updateDaylimit(List<MiguVideoConfigBean> configs);

	MiguVideoConfigBean getByName(String name);

	List<MiguVideoProvinceConfig> selectProvinceById(Integer id);

	void batchInsertProvinceConfig(List<MiguVideoProvinceConfig> mvpcs);

	void deleteProvinceConfigs(MiguVideoProvinceConfig vo);

	List<MiguVideoConfigBean> getMiguVideoConfigList(MiguVideoConfigBean bean);
}
